//-------------------------------------------------------
// Copyright (c) 
// All rights reserved.
// 
// File Name: TabTipSysServer2016.h 
// File Des: 系统输入状态检测server2016模式
// File Summary: 
// Cur Version: 1.0
// Author:
// Create Data:
// History:
//      <Author>        <Time>        <Version>      <Des>
//       lzlong        2023-7-21        1.0            
//-------------------------------------------------------
#pragma once
#include "TabTipSystemBase.h"
class CTabTipSysServer2016 : public CTabTipSystemBase
{
    TABTIP_DECLAREREG_CLASS(CTabTipSysServer2016, TabTipSysServer2016);
public:
    CTabTipSysServer2016();

    ~CTabTipSysServer2016();

    virtual BOOL InstallNotification();

    virtual BOOL UninstallNotification();

    LRESULT OnProcessIPCMsg(UINT msg, WPARAM wparam, LPARAM lparam) override;

protected:
    virtual BOOL Initialize();

    virtual BOOL Uninitialize();

    static LRESULT CALLBACK LowLevelMouseHookProc(int nCode, WPARAM wParam, LPARAM lParam);

private:

    WCHAR    m_szBufTipSharedMemoryName[50];

    HANDLE   m_hShareMemoryFileMap;

    bool     m_bCaretTracking;

    static    HHOOK   m_hStaMouseHook;

    HANDLE            m_hTipTsfModule;
};

